package com.eagle.roomcrawler.interviewProblem;

/**
 * @author 林良炫
 * @Description: ${todo}
 * @date 2018/4/2  15:41
 */
public class Father {

    public static String  father_name = "this is father name ";

    public void funcOneFather() {
        System.out.println("我是Father的普通函数funcOneFather");
    }

    public Father() {
        System.out.println("Father , 构造函数");
    }

    {
        System.out.println("我是父类的{}");
    }

    static {
        System.out.println("我是Father的静态代码块");
    }
    //        我是Father的静态代码块
    //        我是父类的{}
    //        Father , 构造函数
    //        我是Father的普通函数funcOneFather
    public static void main(String[] args) {
        Father firt = new Father();
        firt.funcOneFather();
        System.out.println(Father.father_name);
    }
}
